//
//  HTNormalModel.m
//  TruckDriver
//
//  Created by Ting Han on 2017/9/29.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "HTNormalModel.h"

@implementation HTNormalModel

+ (instancetype)normalModelWithTitle:(NSString *)title height:(CGFloat)height image:(UIImage *)image{
    HTNormalModel *model = [[self class]new];
    model.titleStr = title;
    model.height = height;
    model.image = image;
    return model;
}
+ (instancetype)normalModelWithTitle:(NSString *)title height:(CGFloat)height imageName:(NSString *)imageName{
    HTNormalModel *model = [[self class]new];
    model.titleStr = title;
    model.height = height;
    model.imageName = imageName;
    model.image = [UIImage imageNamed:imageName];
    return model;
}
+ (instancetype)normalModelWithTitle:(NSString *)title height:(CGFloat)height imageUrl:(NSString *)imageUrl{
    HTNormalModel *model = [[self class]new];
    model.titleStr = title;
    model.height = height;
    model.imageUrl = imageUrl;
    return model;
}
@end
